package com.controller.student;


import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.po.SorderH;
import com.service.student.SorderdishServiceH;

@Controller
public class SorderdishController {

	
	@Resource(name="sorderdishServiceImpH")
	private SorderdishServiceH sorderdishservice;
	
	
	@ResponseBody
	@RequestMapping(value="/addorder1")
	public int addOrderdish(@RequestBody SorderH orderdish){
		
		return sorderdishservice.addOrderdish(orderdish);
	}
}
